\hypertarget{fs_8h}{\section{include/fs.h File Reference}
\label{fs_8h}\index{include/fs.\-h@{include/fs.\-h}}
}


Header file for file system.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structhdr__EF}{hdr\-\_\-\-E\-F}
\begin{DoxyCompactList}\small\item\em structure of E\-F file header \end{DoxyCompactList}\item 
struct \hyperlink{structhdr__DF}{hdr\-\_\-\-D\-F}
\begin{DoxyCompactList}\small\item\em structure of D\-F file header. \end{DoxyCompactList}\item 
struct \hyperlink{structfile__table__struct}{file\-\_\-table\-\_\-struct}
\begin{DoxyCompactList}\small\item\em structure of File system header table \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{fs_8h_a67b46a1b116100bf1cd4c7d061f718d8}{\#define \hyperlink{fs_8h_a67b46a1b116100bf1cd4c7d061f718d8}{M\-A\-X\-\_\-\-D\-F}~10}\label{fs_8h_a67b46a1b116100bf1cd4c7d061f718d8}

\begin{DoxyCompactList}\small\item\em Maximum D\-F in file system. \end{DoxyCompactList}\item 
\hypertarget{fs_8h_a8164f05d7cc17eab110ce58d97536a2d}{\#define \hyperlink{fs_8h_a8164f05d7cc17eab110ce58d97536a2d}{M\-A\-X\-\_\-\-E\-F}~10}\label{fs_8h_a8164f05d7cc17eab110ce58d97536a2d}

\begin{DoxyCompactList}\small\item\em Maximum E\-F in file system. \end{DoxyCompactList}\item 
\hypertarget{fs_8h_a70f449a9fa7f46b50b03dbbb59efc597}{\#define \hyperlink{fs_8h_a70f449a9fa7f46b50b03dbbb59efc597}{M\-A\-X\-\_\-child\-D\-F}~10}\label{fs_8h_a70f449a9fa7f46b50b03dbbb59efc597}

\begin{DoxyCompactList}\small\item\em Maximum child D\-F in one D\-F. \end{DoxyCompactList}\item 
\hypertarget{fs_8h_aa7ab76fe47080a0e9141c1cf4832193e}{\#define \hyperlink{fs_8h_aa7ab76fe47080a0e9141c1cf4832193e}{M\-A\-X\-\_\-child\-E\-F}~10}\label{fs_8h_aa7ab76fe47080a0e9141c1cf4832193e}

\begin{DoxyCompactList}\small\item\em Maximum child E\-F in one D\-F. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7}{f\-\_\-struct} \{ \hyperlink{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ac719d3f34968bcf992d4c0c48841cf63}{Transparent}, 
\hyperlink{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ae0da40ac190d835380202f40a9fc76eb}{Record}, 
\hyperlink{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7a5aa1e27646a18fb490c0ff4a9b7b2f6e}{Cyclic}
 \}
\begin{DoxyCompactList}\small\item\em E\-F File Structure enumeration. \end{DoxyCompactList}\item 
enum \hyperlink{fs_8h_afeee049c9120627f4bad4322d131c130}{f\-\_\-type} \{ \hyperlink{fs_8h_afeee049c9120627f4bad4322d131c130a7352fd1878874b86d44e973e7b7c046e}{Working}, 
\hyperlink{fs_8h_afeee049c9120627f4bad4322d131c130aa992d66faf4c155dfd78ec168fc25f8a}{Internal}
 \}
\begin{DoxyCompactList}\small\item\em E\-F File Type enumeration. \end{DoxyCompactList}\item 
enum \hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \{ \hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050ab16a72615f8613168ea14797c243fdfd}{F\-\_\-\-O\-K}, 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a1ee3f549601e0908e16a5bf5e96bde62}{F\-\_\-\-File\-Not\-Found}, 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a633497f6e7909b28c6f18a81c7411c6c}{F\-\_\-\-Not\-Allowed}
 \}
\begin{DoxyCompactList}\small\item\em File System function return enumeration. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_ab3d63dbd2e258aa4a458eb3462e62122}{F\-S\-Select\-M\-F} ()
\begin{DoxyCompactList}\small\item\em select M\-F \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_afe990dc21b0a2856ae60915b85e42b45}{F\-S\-Select\-F\-I\-D} (\hyperlink{pintaros_8h_ad097ffa75536dc17a0039dfb3781d705}{uint16\-\_\-t} $\ast$fid)
\begin{DoxyCompactList}\small\item\em select with full F\-I\-D \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_ac97447fc9afd02890db948ed5919984d}{F\-S\-Select\-S\-F\-I\-D} (\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$sfid)
\begin{DoxyCompactList}\small\item\em select with short F\-I\-D \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a140836bf2f444883b19f6929481d3f95}{F\-S\-Select\-Name} (char $\ast$D\-Fname, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} length)
\begin{DoxyCompactList}\small\item\em select with name \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_ae69deb9d54e9b8b815bcbd4b5a6edfb3}{F\-S\-Read\-Binary} (int offset, int length, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$data)
\begin{DoxyCompactList}\small\item\em read a transparent file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a44adbc30326e5c2aef9f55257b2e2574}{F\-S\-Update\-Binary} (int offset, int length, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$data)
\begin{DoxyCompactList}\small\item\em update a transparent file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_abae42f0fb20b294b53dc9b7f10e67771}{F\-S\-Read\-Record} (int record\-Num, int length, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$data)
\begin{DoxyCompactList}\small\item\em read a record file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a0d703a21c2d52f961a57098e9c9f15bc}{F\-S\-Update\-Record} (int record\-Num, int length, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$data)
\begin{DoxyCompactList}\small\item\em update a transparent file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_aa6704d2a682942e2aa9e6cc9fa5de575}{F\-S\-Create\-File\-E\-F} (\hyperlink{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7}{f\-\_\-struct} structure, \hyperlink{fs_8h_afeee049c9120627f4bad4322d131c130}{f\-\_\-type} type, \hyperlink{pintaros_8h_ad097ffa75536dc17a0039dfb3781d705}{uint16\-\_\-t} $\ast$fid)
\begin{DoxyCompactList}\small\item\em create a new E\-F file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a2d1f07c8963749b8911f298179c8e806}{F\-S\-Create\-File\-D\-F} (\hyperlink{pintaros_8h_ad097ffa75536dc17a0039dfb3781d705}{uint16\-\_\-t} $\ast$fid)
\begin{DoxyCompactList}\small\item\em create a new D\-F file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a8a4d97aa9aa7d8e44f85fea1f7b69e19}{F\-S\-Append\-Record} (\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$data, \hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} length, \hyperlink{pintaros_8h_ad097ffa75536dc17a0039dfb3781d705}{uint16\-\_\-t} $\ast$fid)
\begin{DoxyCompactList}\small\item\em Append a new record. \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_aec958a54c7462a6927d699256d06046e}{F\-S\-Delete\-File} (\hyperlink{pintaros_8h_ad097ffa75536dc17a0039dfb3781d705}{uint16\-\_\-t} $\ast$fid)
\begin{DoxyCompactList}\small\item\em delete a file \end{DoxyCompactList}\item 
\hyperlink{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{fs\-\_\-ret} \hyperlink{fs_8h_a1f51595b9b176f96569fed867090ddba}{F\-S\-Verify} (\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} $\ast$P\-I\-N)
\begin{DoxyCompactList}\small\item\em verify security state with P\-I\-N \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{fs_8h_a09350b4ca315d13040271b117d849729}{\hyperlink{structfile__table__struct}{file\-\_\-table\-\_\-struct} \hyperlink{fs_8h_a09350b4ca315d13040271b117d849729}{file\-\_\-tabel}}\label{fs_8h_a09350b4ca315d13040271b117d849729}

\begin{DoxyCompactList}\small\item\em file table \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Header file for file system. \begin{DoxyAuthor}{Author}
Ricky Hariady (\href{mailto:ricky.hariady@enter.web.id}{\tt ricky.\-hariady@enter.\-web.\-id})
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
7/10/2013 
\end{DoxyDate}


\subsection{Enumeration Type Documentation}
\hypertarget{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7}{\index{fs.\-h@{fs.\-h}!f\-\_\-struct@{f\-\_\-struct}}
\index{f\-\_\-struct@{f\-\_\-struct}!fs.h@{fs.\-h}}
\subsubsection[{f\-\_\-struct}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf f\-\_\-struct}}}\label{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7}


E\-F File Structure enumeration. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{Transparent@{Transparent}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!Transparent@{Transparent}}\item[{\em 
\hypertarget{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ac719d3f34968bcf992d4c0c48841cf63}{Transparent}\label{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ac719d3f34968bcf992d4c0c48841cf63}
}]File using transparent structure. \index{Record@{Record}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!Record@{Record}}\item[{\em 
\hypertarget{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ae0da40ac190d835380202f40a9fc76eb}{Record}\label{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7ae0da40ac190d835380202f40a9fc76eb}
}]File using Record structure. \index{Cyclic@{Cyclic}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!Cyclic@{Cyclic}}\item[{\em 
\hypertarget{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7a5aa1e27646a18fb490c0ff4a9b7b2f6e}{Cyclic}\label{fs_8h_aad381d5f138b44afbab8a3ddeba85eb7a5aa1e27646a18fb490c0ff4a9b7b2f6e}
}]File using Cyclic Record Structure. \end{description}
\end{Desc}
\hypertarget{fs_8h_afeee049c9120627f4bad4322d131c130}{\index{fs.\-h@{fs.\-h}!f\-\_\-type@{f\-\_\-type}}
\index{f\-\_\-type@{f\-\_\-type}!fs.h@{fs.\-h}}
\subsubsection[{f\-\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf f\-\_\-type}}}\label{fs_8h_afeee049c9120627f4bad4322d131c130}


E\-F File Type enumeration. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{Working@{Working}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!Working@{Working}}\item[{\em 
\hypertarget{fs_8h_afeee049c9120627f4bad4322d131c130a7352fd1878874b86d44e973e7b7c046e}{Working}\label{fs_8h_afeee049c9120627f4bad4322d131c130a7352fd1878874b86d44e973e7b7c046e}
}]Working type file. \index{Internal@{Internal}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!Internal@{Internal}}\item[{\em 
\hypertarget{fs_8h_afeee049c9120627f4bad4322d131c130aa992d66faf4c155dfd78ec168fc25f8a}{Internal}\label{fs_8h_afeee049c9120627f4bad4322d131c130aa992d66faf4c155dfd78ec168fc25f8a}
}]Internal type file. \end{description}
\end{Desc}
\hypertarget{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}{\index{fs.\-h@{fs.\-h}!fs\-\_\-ret@{fs\-\_\-ret}}
\index{fs\-\_\-ret@{fs\-\_\-ret}!fs.h@{fs.\-h}}
\subsubsection[{fs\-\_\-ret}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf fs\-\_\-ret}}}\label{fs_8h_ac9955cfd3ddf008cbbea59631d0da050}


File System function return enumeration. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{F\-\_\-\-O\-K@{F\-\_\-\-O\-K}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!F\-\_\-\-O\-K@{F\-\_\-\-O\-K}}\item[{\em 
\hypertarget{fs_8h_ac9955cfd3ddf008cbbea59631d0da050ab16a72615f8613168ea14797c243fdfd}{F\-\_\-\-O\-K}\label{fs_8h_ac9955cfd3ddf008cbbea59631d0da050ab16a72615f8613168ea14797c243fdfd}
}]Success. \index{F\-\_\-\-File\-Not\-Found@{F\-\_\-\-File\-Not\-Found}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!F\-\_\-\-File\-Not\-Found@{F\-\_\-\-File\-Not\-Found}}\item[{\em 
\hypertarget{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a1ee3f549601e0908e16a5bf5e96bde62}{F\-\_\-\-File\-Not\-Found}\label{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a1ee3f549601e0908e16a5bf5e96bde62}
}]File not Found. \index{F\-\_\-\-Not\-Allowed@{F\-\_\-\-Not\-Allowed}!fs.\-h@{fs.\-h}}\index{fs.\-h@{fs.\-h}!F\-\_\-\-Not\-Allowed@{F\-\_\-\-Not\-Allowed}}\item[{\em 
\hypertarget{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a633497f6e7909b28c6f18a81c7411c6c}{F\-\_\-\-Not\-Allowed}\label{fs_8h_ac9955cfd3ddf008cbbea59631d0da050a633497f6e7909b28c6f18a81c7411c6c}
}]Operation not allowed. \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{fs_8h_a8a4d97aa9aa7d8e44f85fea1f7b69e19}{\index{fs.\-h@{fs.\-h}!F\-S\-Append\-Record@{F\-S\-Append\-Record}}
\index{F\-S\-Append\-Record@{F\-S\-Append\-Record}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Append\-Record}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Append\-Record (
\begin{DoxyParamCaption}
\item[{{\bf uint8\-\_\-t} $\ast$}]{data, }
\item[{{\bf uint8\-\_\-t}}]{length, }
\item[{{\bf uint16\-\_\-t} $\ast$}]{fid}
\end{DoxyParamCaption}
)}}\label{fs_8h_a8a4d97aa9aa7d8e44f85fea1f7b69e19}


Append a new record. 

File system function to append a new record to a record E\-F file


\begin{DoxyParams}{Parameters}
{\em $\ast$data} & buffer of data to append \\
\hline
{\em $\ast$length} & length of data to append \\
\hline
{\em $\ast$fid} & F\-I\-D of the file \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_a2d1f07c8963749b8911f298179c8e806}{\index{fs.\-h@{fs.\-h}!F\-S\-Create\-File\-D\-F@{F\-S\-Create\-File\-D\-F}}
\index{F\-S\-Create\-File\-D\-F@{F\-S\-Create\-File\-D\-F}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Create\-File\-D\-F}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Create\-File\-D\-F (
\begin{DoxyParamCaption}
\item[{{\bf uint16\-\_\-t} $\ast$}]{fid}
\end{DoxyParamCaption}
)}}\label{fs_8h_a2d1f07c8963749b8911f298179c8e806}


create a new D\-F file 

File system function to create a D\-F file


\begin{DoxyParams}{Parameters}
{\em $\ast$fid} & F\-I\-D of the file created \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_aa6704d2a682942e2aa9e6cc9fa5de575}{\index{fs.\-h@{fs.\-h}!F\-S\-Create\-File\-E\-F@{F\-S\-Create\-File\-E\-F}}
\index{F\-S\-Create\-File\-E\-F@{F\-S\-Create\-File\-E\-F}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Create\-File\-E\-F}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Create\-File\-E\-F (
\begin{DoxyParamCaption}
\item[{{\bf f\-\_\-struct}}]{structure, }
\item[{{\bf f\-\_\-type}}]{type, }
\item[{{\bf uint16\-\_\-t} $\ast$}]{fid}
\end{DoxyParamCaption}
)}}\label{fs_8h_aa6704d2a682942e2aa9e6cc9fa5de575}


create a new E\-F file 

File system function to create a E\-F file


\begin{DoxyParams}{Parameters}
{\em structure} & structure of file to create \\
\hline
{\em type} & type of file to create \\
\hline
{\em $\ast$fid} & F\-I\-D of the file created \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_aec958a54c7462a6927d699256d06046e}{\index{fs.\-h@{fs.\-h}!F\-S\-Delete\-File@{F\-S\-Delete\-File}}
\index{F\-S\-Delete\-File@{F\-S\-Delete\-File}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Delete\-File}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Delete\-File (
\begin{DoxyParamCaption}
\item[{{\bf uint16\-\_\-t} $\ast$}]{fid}
\end{DoxyParamCaption}
)}}\label{fs_8h_aec958a54c7462a6927d699256d06046e}


delete a file 

File system function to delete a file


\begin{DoxyParams}{Parameters}
{\em $\ast$fid} & F\-I\-D of the file created \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_ae69deb9d54e9b8b815bcbd4b5a6edfb3}{\index{fs.\-h@{fs.\-h}!F\-S\-Read\-Binary@{F\-S\-Read\-Binary}}
\index{F\-S\-Read\-Binary@{F\-S\-Read\-Binary}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Read\-Binary}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Read\-Binary (
\begin{DoxyParamCaption}
\item[{int}]{offset, }
\item[{int}]{length, }
\item[{{\bf uint8\-\_\-t} $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{fs_8h_ae69deb9d54e9b8b815bcbd4b5a6edfb3}


read a transparent file 

File system function to read a transparent file


\begin{DoxyParams}{Parameters}
{\em offset} & offset of the data to read \\
\hline
{\em length} & length of the data to read \\
\hline
{\em $\ast$data} & pointer to buffer where the data will be placed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_abae42f0fb20b294b53dc9b7f10e67771}{\index{fs.\-h@{fs.\-h}!F\-S\-Read\-Record@{F\-S\-Read\-Record}}
\index{F\-S\-Read\-Record@{F\-S\-Read\-Record}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Read\-Record}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Read\-Record (
\begin{DoxyParamCaption}
\item[{int}]{record\-Num, }
\item[{int}]{length, }
\item[{{\bf uint8\-\_\-t} $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{fs_8h_abae42f0fb20b294b53dc9b7f10e67771}


read a record file 

File system function to read a record file


\begin{DoxyParams}{Parameters}
{\em record\-Num} & record Number \\
\hline
{\em length} & length of the data to read \\
\hline
{\em $\ast$data} & pointer to buffer where the data will be placed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_afe990dc21b0a2856ae60915b85e42b45}{\index{fs.\-h@{fs.\-h}!F\-S\-Select\-F\-I\-D@{F\-S\-Select\-F\-I\-D}}
\index{F\-S\-Select\-F\-I\-D@{F\-S\-Select\-F\-I\-D}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Select\-F\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Select\-F\-I\-D (
\begin{DoxyParamCaption}
\item[{{\bf uint16\-\_\-t} $\ast$}]{fid}
\end{DoxyParamCaption}
)}}\label{fs_8h_afe990dc21b0a2856ae60915b85e42b45}


select with full F\-I\-D 

File system function to select a file with full F\-I\-D


\begin{DoxyParams}{Parameters}
{\em fid} & F\-I\-D of file to select \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_ab3d63dbd2e258aa4a458eb3462e62122}{\index{fs.\-h@{fs.\-h}!F\-S\-Select\-M\-F@{F\-S\-Select\-M\-F}}
\index{F\-S\-Select\-M\-F@{F\-S\-Select\-M\-F}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Select\-M\-F}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Select\-M\-F (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{fs_8h_ab3d63dbd2e258aa4a458eb3462e62122}


select M\-F 

File system function to select M\-F

\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_a140836bf2f444883b19f6929481d3f95}{\index{fs.\-h@{fs.\-h}!F\-S\-Select\-Name@{F\-S\-Select\-Name}}
\index{F\-S\-Select\-Name@{F\-S\-Select\-Name}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Select\-Name}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Select\-Name (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{D\-Fname, }
\item[{{\bf uint8\-\_\-t}}]{length}
\end{DoxyParamCaption}
)}}\label{fs_8h_a140836bf2f444883b19f6929481d3f95}


select with name 

File system function to select a D\-F file with name


\begin{DoxyParams}{Parameters}
{\em $\ast$\-D\-Fname} & pointer to D\-Fname \\
\hline
{\em length} & length of D\-Fname \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_ac97447fc9afd02890db948ed5919984d}{\index{fs.\-h@{fs.\-h}!F\-S\-Select\-S\-F\-I\-D@{F\-S\-Select\-S\-F\-I\-D}}
\index{F\-S\-Select\-S\-F\-I\-D@{F\-S\-Select\-S\-F\-I\-D}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Select\-S\-F\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Select\-S\-F\-I\-D (
\begin{DoxyParamCaption}
\item[{{\bf uint8\-\_\-t} $\ast$}]{sfid}
\end{DoxyParamCaption}
)}}\label{fs_8h_ac97447fc9afd02890db948ed5919984d}


select with short F\-I\-D 

File system function to select a file with short F\-I\-D


\begin{DoxyParams}{Parameters}
{\em sfid} & Short F\-I\-D of file to select \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_a44adbc30326e5c2aef9f55257b2e2574}{\index{fs.\-h@{fs.\-h}!F\-S\-Update\-Binary@{F\-S\-Update\-Binary}}
\index{F\-S\-Update\-Binary@{F\-S\-Update\-Binary}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Update\-Binary}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Update\-Binary (
\begin{DoxyParamCaption}
\item[{int}]{offset, }
\item[{int}]{length, }
\item[{{\bf uint8\-\_\-t} $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{fs_8h_a44adbc30326e5c2aef9f55257b2e2574}


update a transparent file 

File system function to update a transparent file


\begin{DoxyParams}{Parameters}
{\em offset} & offset of the data to write \\
\hline
{\em length} & length of the data to write \\
\hline
{\em $\ast$data} & pointer to buffer of the data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_a0d703a21c2d52f961a57098e9c9f15bc}{\index{fs.\-h@{fs.\-h}!F\-S\-Update\-Record@{F\-S\-Update\-Record}}
\index{F\-S\-Update\-Record@{F\-S\-Update\-Record}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Update\-Record}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Update\-Record (
\begin{DoxyParamCaption}
\item[{int}]{record\-Num, }
\item[{int}]{length, }
\item[{{\bf uint8\-\_\-t} $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{fs_8h_a0d703a21c2d52f961a57098e9c9f15bc}


update a transparent file 

File system function to update a transparent file


\begin{DoxyParams}{Parameters}
{\em record\-Num} & record Number \\
\hline
{\em length} & length of the data to write \\
\hline
{\em $\ast$data} & pointer to buffer of the data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
\hypertarget{fs_8h_a1f51595b9b176f96569fed867090ddba}{\index{fs.\-h@{fs.\-h}!F\-S\-Verify@{F\-S\-Verify}}
\index{F\-S\-Verify@{F\-S\-Verify}!fs.h@{fs.\-h}}
\subsubsection[{F\-S\-Verify}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fs\-\_\-ret} F\-S\-Verify (
\begin{DoxyParamCaption}
\item[{{\bf uint8\-\_\-t} $\ast$}]{P\-I\-N}
\end{DoxyParamCaption}
)}}\label{fs_8h_a1f51595b9b176f96569fed867090ddba}


verify security state with P\-I\-N 

File system function to verify security state


\begin{DoxyParams}{Parameters}
{\em P\-I\-N} & P\-I\-N Number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File System Result enum 
\end{DoxyReturn}
